//
//  SignalTableChooseView.h
//  Select
//
//  Created by dihuijun on 17/3/15.
//  Copyright © 2017年 Cycle. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void(^chooseBlock)(NSString *chooseContent,NSIndexPath *indexPath);

@interface SignalTableChooseView : UIView<UITableViewDelegate,UITableViewDataSource>


/**   服务器传过来的datasource   */
@property (nonatomic, strong) NSMutableArray *datasource;
/**   tableView   */
@property (nonatomic, strong) UITableView *tableView;
/**   当前选择的currentSelectIndex   */
@property (nonatomic, strong) NSIndexPath *currentSelectIndexPath;

/**   block   */
@property (nonatomic,copy) chooseBlock block;


/** 创建 */
+ (SignalTableChooseView *)shareTableViewWithFrame:(CGRect)frame;
/** 刷新表格 */
- (void)reloadData;


@end
